package com.bgs.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 核销表
 * </p>
 *
 * @author Nero
 * @since 2022-05-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Writeoff对象", description="核销表")
public class Writeoff implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "核销id")
    @TableId(value = "writeoff_id", type = IdType.AUTO)
    private Integer writeoffId;

    @ApiModelProperty(value = "订单编号")
    private String ordernumber;

    @ApiModelProperty(value = "订单类型（0是年度服务费 1是充值订单 2是月度奖励）")
    private Integer type;

    @ApiModelProperty(value = "订单金额")
    private Double money;

    @ApiModelProperty(value = "支付状态（0是未支付 1是已支付）")
    private Integer paymentState;

    @ApiModelProperty(value = "支付方式（0是支付宝 1是微信 2是银行卡）")
    private Integer paymentMode;

    @ApiModelProperty(value = "支付流水号")
    private String serial;

    @ApiModelProperty(value = "支付时间")
    private LocalDateTime paymentTime;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime creationTime;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "是否删除（y是删除 n是未删除）")
    private String isDel;


}
